﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace TransportAbstractionLibrary.Exceptions
{
    [Serializable, ComVisible(true)]
    public sealed class InvalidLayerOrderException : TALException
    {

        public InvalidLayerOrderException(IProtocolBase protocol)
            : base(protocol, "The remote protocol stack is not in the same order as the local!")
        {
        }
        public InvalidLayerOrderException(IProtocolBase protocol, string message)
            : base(protocol, message)
        {

        }
    }
}
